
 
$(function(){

	YuXi.InfoQuery.init({	
		url:"InformationDispatch/getInfoDispatch.do",
		query:{
				currentPage:1
			},					
		success:function(data){					
				YuXi.Render.InformationSeach(data.list,2,"被调配信息");//调用信息查询的页面渲染模块
			},
			getQueryParm:function(){
						var query={};
						query={
							currentPage:1
						}
						YuXi.InfoQuery.queryData=YuXi.ALLSearch.base(query);
					},
				error:function(){},
				/* selector:{
					nextPage:$("#nextPage"),
					prevPage:$("#prevPage"),
					firstPage:$("#headPage"),
					lastPage:$("#endPage"),
					totalPage:$("#totalPage")
					此项为默认项
				}	 */
		});		
  //跳转到详情界面
  $(document).on("click",".detail",function(){
	 var id= $(this).attr("data-id");
	window.location.href='/yuxi/model/information/subDetailInfo.jsp?detailId='+id;
	/* location.search = "?detailId="+id;*/
  })

 

})